-
Home
-
Vitepos – Point of Sale (POS) for WooCommerce
-
3.3.0 (latest)
-
Code
-
Classes
- Pos_Product_Api
| Total Complexity |
137 |
| Dependencies |
8 |
| Dependents |
1 |
| Total lines |
1,034 |
| Lines of code |
754 |
| Logical lines of code |
465 |
| Comment lines |
158 |
| Methods |
29 |
| Properties |
0 |
Methods 29
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| update_attribute() |
B |
35 |
17 |
91 |
| get_all_attributes() |
B |
36 |
16 |
78 |
| get_all_categories() |
A |
40 |
13 |
56 |
| add_attribute() |
A |
39 |
11 |
69 |
| update_category() |
A |
41 |
10 |
62 |
| get_attribute() |
A |
44 |
8 |
46 |
| add_category() |
A |
45 |
7 |
48 |
| delete_product() |
S |
50 |
6 |
30 |
| get_attributes() |
S |
51 |
6 |
26 |
| delete_attribute() |
S |
52 |
5 |
26 |
| get_category() |
S |
53 |
4 |
23 |
| attributes() |
S |
51 |
3 |
28 |
| set_route_permission() |
S |
64 |
4 |
11 |
| query_search_filter() |
S |
63 |
4 |
11 |
| delete_category() |
S |
57 |
3 |
17 |
| product_with_variation_list() |
S |
54 |
2 |
21 |
| product_list() |
S |
57 |
2 |
16 |
| get_product_stock_by_id() |
S |
60 |
2 |
13 |
| routes() |
S |
53 |
1 |
21 |
| get_stock() |
S |
63 |
2 |
10 |
| delete_variationProduct() |
S |
66 |
2 |
9 |
| product_details() |
S |
63 |
2 |
10 |
| set_api_base() |
S |
82 |
1 |
3 |
| scan_product() |
S |
68 |
1 |
7 |
| categories() |
S |
72 |
1 |
5 |
| all_categories() |
S |
72 |
1 |
5 |
| all_taxes() |
S |
76 |
1 |
4 |
| get_product_by_id() |
S |
72 |
1 |
5 |
| call_category_action() |
S |
80 |
1 |
3 |